<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <system.web> 
            <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="zh-CN" uiCulture="zh-CN"/>
            
            </system.web> 
    <title> Touch Station </title>

</head>
<body>
<input type="text" id ="cc" value="中国"> <input type="button"  value="传值"  onclick="to()" >

</body>
</html>

<script type="text/javascript">

    function   to (){

     
        var  getval =document.getElementById("cc").value;
        alert(getval);
        var str = new String("main/home.html?cc="+getval);
        window.location.href=str; 
       // document.href("main/home.html?cc="+getval);
    }

</script>


